﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common.Constants;
using BotvaBot.BusinessLayer.RequestChainItems.Factory;

namespace BotvaBot.RequestChainItems
{
    [ChainItem]
    public class PrepareLetunToBigAdventureChainItem : BotvaLogedInChainItemBase
    {
        public int GildiaId { get; set; }
        public int LetunId { get; set; }

        protected override void PrepareRequestInternal()
        {
            Url = "http://g3.botva.ru/castle.php";
            Method = HttpMethod.POST;
            AddGet("a", "zoo");
            AddGet("id", GildiaId.ToString());
            AddPost("block", "events");
            AddPost("flying", LetunId.ToString());
        }
    }
}
